﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using DAL;
using Model;

namespace BLL
{
    public class UserInfoBLL
    {
            public static List<hus> showwangshangyuding(string mid)
            {
                return DAL.UserInfoDAL.showwangshangyuding(mid);
            }
            /// <summary>
            /// 显示用户
            /// </summary>
            /// <returns></returns>
            public static DataTable showuserinfo()
            {
                return UserInfoDAL.showuserinfo();
            }
            /// <summary>
            /// 删除用户
            /// </summary>
            /// <param name="cid"></param>
            /// <returns></returns>
            public static int deleteuserinfo(int cid)
            {
            return UserInfoDAL.deleteuserinfo(cid);
            }
            /// <summary>
            /// 添加用户信息
            /// </summary>
            /// <param name="p"></param>
            /// <returns></returns>
            public static int adduserinfo(Personalmodel p)
            {
            return UserInfoBLL.adduserinfo(p);
            }
        }
}
